package com.hrm.service;

import com.hrm.pojo.Users;

public interface UsersService {
    /**
     * 注册用户
     * @param users
     * @return
     * @throws Exception
     */
    boolean register(Users users) throws Exception;

    /**
     * 根据用户名和密码进行登录
     * @param loginname
     * @param pwd
     * @return
     * @throws Exception
     */
    Users login(String loginname,String pwd) throws Exception;
}
